TEGetText
TEGetText obtain the text of an edit record
#include <TextEdit.h> TextEdit
CharsHandle TEGetText(hTE ) ;
TEHandle hTE ; handle of an edit record
returns Handle leading to an array of characters
This returns a handle of the text of an edit record. Use this call to obtain the
result of an edit after the text has been modified by the user.
hTE is a handle obtained via a call to TENew (old style TextEdit record)
or TEStylNew (new style TextEdit record). It leads to a
variable-length TERec structure.
Returns: a CharsHandle value (Handle to an array of characters).

Notes: The length of the returned string is (*TEHandle)->teLength.
The first character of the string is **CharsHandle.
You can use the GetIText function of the Dialog Manager to convert the
string into a length-prefixed Pascal string. For more information, see
Converting TextEdit Records.